package com.ys.mapper;

import com.ys.pojo.Administrators;
import com.ys.pojo.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface  MenuMapper {
    List<Menu> findByAdminAndPwd(@Param("name") String name, @Param("pwd") String pwd);
    List<Menu> findByAdminAndPwds(@Param("name") String name, @Param("pwd") String pwd, @Param("number") int number);
    List<Menu> findBySelect();
    List<String> finByGrname(String userCode);
    List<Menu> finByShouquan(@Param("id") int id);
    int count(Integer id);
}
